<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$school['title']}</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=yes" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/mTeacherListNew.css?v=4.92" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/greenStyle.css?v=4.920120" />
<link rel="stylesheet" href="{MODULE_URL}public/mobile/css/weixin.css?{php echo time()}">
</head>
<body>
<div class="all">
	<div id="titlebar" class="header mainColor">
		<div class="l"><a class="backOff" style="background:url({OSSURL}public/mobile/img/ic_arrow_left_48px_white.svg) no-repeat;background-size: 55% 55%;background-position: 50%;" href="javascript:history.go(-1);"></a></div>
		<div class="m">
				<span style="font-size: 18px">教师风采</span>   	
		</div>
		</div>
	<div id="titlebar_bg" class="_header"></div>

	<div class="teacherList">
		<ul>
		{if !empty($list)}
		{loop $list $item}
			<li>
				<a href="{php echo $this->createMobileUrl('tcinfo', array('schoolid' => $schoolid, 'tid' => $item['id']), true)}">
					<div class="teacherHeader">
						<div class="img">
							<img alt="" src="{if $item['thumb']}{php echo tomedia($item['thumb']);}{else}{php echo tomedia($school['tpic']);}{/if}" />
						</div>
					</div>
					<div class="teacherInfo">
						<div class="nameAndRoles">
							<span class="name m_r_10">{$item['tname']}</span>
							<span class="roles">{if $item['status'] == 1}教员{else if $item['status'] == 2}校长{/if}</span>
						</div>
						<div class="signature">
							<span>{if !empty($category[$item['xq_id1']])}{$category[$item['xq_id1']]['sname']}&nbsp;{/if}{if !empty($category[$item['xq_id2']])}{$category[$item['xq_id2']]['sname']}&nbsp;{/if}{if !empty($category[$item['xq_id3']])}{$category[$item['xq_id3']]['sname']}&nbsp;{/if}</span>
						</div>
					</div>
				</a>
			</li>
		{/loop}
        {else}		
			<div class="loadBox">暂无本校教师信息哦··</div>
		{/if}
		
		</ul>
	</div>
	<div class="line" style="padding-bottom:65px;"></div>
</div>
   {php include $this->template('footer');} 
</body>
</html>